'use strict';

// Declare app level module which depends on views, and components
var myApp = angular.module('myApp', [
  'ngRoute',
  'myApp.register',
  'myApp.login',
  'myApp.decisions',
  'myApp.version',
  'myApp.projects'
]).
config(['$routeProvider', function($routeProvider) {
  $routeProvider.otherwise({redirectTo: '/login'});
}]);

myApp.run(function($rootScope) {
	$rootScope.userEmail = 'unknown';
  	$rootScope.userToken = '';
});